package com.lanswon.qzsmk.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 单位基本信息表
 * 
 * @author sun
 *
 */
public class Corporation implements Serializable {
	/** 单位ID */
	private String corpCode;

	/** 单位名称 */
	private String corpName;

	/** 单位简称 */
	private String corpAbbrName;

	/** 单位类型 1.机关 2.事业 3.企业 9.其它 */
	private String corpType;

	/** 单位等级 1.普通单位 2.重要单位 3.VIP */
	private String corpLevel;

	/** 单位地址 */
	private String corpAddr;

	/** 邮政编码 */
	private String corpPostalcode;

	/** 联系人 */
	private String linkmanName;

	/** 联系人电话 */
	private String linkmanPhone;

	/** 手机 */
	private String linkmanMobile;

	/** 传真号码 */
	private String linkmanFax;

	/** E-Mail */
	private String email;

	/** 单位负责人 */
	private String leader;

	/** 负责人电话 */
	private String leaderPhone;

	/** 法人姓名 */
	private String jpName;

	/** 法人证件类型 */
	private String jpPaperType;

	/** 法人证件号码 */
	private String jpPaperNo;

	/** 法人联系电话 */
	private String jpPhone;

	/** 组织机构代码 */
	private String orgCode;

	/** 开户银行 */
	private String accountBank;

	/** 基本帐号 */
	private String basicAccount;

	/** 注册资金 */
	private BigDecimal registerAmt;

	/** 注册日期 */
	private Date registerDate;

	/** 纳税登记号 */
	private String taxRegisterNo;

	/** 企业登记号 */
	private String crNo;

	/** 客户经理 市场、运营等部门职员 */
	private String custManager;

	/** 累计发卡 */
	private Integer totalCard;

	/** 所属地区 */
	private String region;

	/** 所属网点编号 */
	private String branchNo;

	/** 所属机构编号 */
	private String orgNo;

	/** 行业代码 */
	private String industryCode;

	/** 单位状态 0.未启用1.启用2.停用 3.废弃 */
	private String status;

	/** 备注 */
	private String remark;

	/** 创建柜员号 */
	private String crtOperator;

	/** 创建日期 */
	private Date crtDate;

	/** 最后修改柜员号 */
	private String lastOperator;

	/** 最后修改日期 */
	private Date lastDate;

	/** 单位编号 */
	private String corpNo;

	/** 单位描述 */
	private String corpDescription;

	private static final long serialVersionUID = 1L;

	public String getCorpCode() {
		return corpCode;
	}

	public void setCorpCode(String corpCode) {
		this.corpCode = corpCode == null ? null : corpCode.trim();
	}

	public String getCorpName() {
		return corpName;
	}

	public void setCorpName(String corpName) {
		this.corpName = corpName == null ? null : corpName.trim();
	}

	public String getCorpAbbrName() {
		return corpAbbrName;
	}

	public void setCorpAbbrName(String corpAbbrName) {
		this.corpAbbrName = corpAbbrName == null ? null : corpAbbrName.trim();
	}

	public String getCorpType() {
		return corpType;
	}

	public void setCorpType(String corpType) {
		this.corpType = corpType == null ? null : corpType.trim();
	}

	public String getCorpLevel() {
		return corpLevel;
	}

	public void setCorpLevel(String corpLevel) {
		this.corpLevel = corpLevel == null ? null : corpLevel.trim();
	}

	public String getCorpAddr() {
		return corpAddr;
	}

	public void setCorpAddr(String corpAddr) {
		this.corpAddr = corpAddr == null ? null : corpAddr.trim();
	}

	public String getCorpPostalcode() {
		return corpPostalcode;
	}

	public void setCorpPostalcode(String corpPostalcode) {
		this.corpPostalcode = corpPostalcode == null ? null : corpPostalcode
				.trim();
	}

	public String getLinkmanName() {
		return linkmanName;
	}

	public void setLinkmanName(String linkmanName) {
		this.linkmanName = linkmanName == null ? null : linkmanName.trim();
	}

	public String getLinkmanPhone() {
		return linkmanPhone;
	}

	public void setLinkmanPhone(String linkmanPhone) {
		this.linkmanPhone = linkmanPhone == null ? null : linkmanPhone.trim();
	}

	public String getLinkmanMobile() {
		return linkmanMobile;
	}

	public void setLinkmanMobile(String linkmanMobile) {
		this.linkmanMobile = linkmanMobile == null ? null : linkmanMobile
				.trim();
	}

	public String getLinkmanFax() {
		return linkmanFax;
	}

	public void setLinkmanFax(String linkmanFax) {
		this.linkmanFax = linkmanFax == null ? null : linkmanFax.trim();
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email == null ? null : email.trim();
	}

	public String getLeader() {
		return leader;
	}

	public void setLeader(String leader) {
		this.leader = leader == null ? null : leader.trim();
	}

	public String getLeaderPhone() {
		return leaderPhone;
	}

	public void setLeaderPhone(String leaderPhone) {
		this.leaderPhone = leaderPhone == null ? null : leaderPhone.trim();
	}

	public String getJpName() {
		return jpName;
	}

	public void setJpName(String jpName) {
		this.jpName = jpName == null ? null : jpName.trim();
	}

	public String getJpPaperType() {
		return jpPaperType;
	}

	public void setJpPaperType(String jpPaperType) {
		this.jpPaperType = jpPaperType == null ? null : jpPaperType.trim();
	}

	public String getJpPaperNo() {
		return jpPaperNo;
	}

	public void setJpPaperNo(String jpPaperNo) {
		this.jpPaperNo = jpPaperNo == null ? null : jpPaperNo.trim();
	}

	public String getJpPhone() {
		return jpPhone;
	}

	public void setJpPhone(String jpPhone) {
		this.jpPhone = jpPhone == null ? null : jpPhone.trim();
	}

	public String getOrgCode() {
		return orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode == null ? null : orgCode.trim();
	}

	public String getAccountBank() {
		return accountBank;
	}

	public void setAccountBank(String accountBank) {
		this.accountBank = accountBank == null ? null : accountBank.trim();
	}

	public String getBasicAccount() {
		return basicAccount;
	}

	public void setBasicAccount(String basicAccount) {
		this.basicAccount = basicAccount == null ? null : basicAccount.trim();
	}

	public BigDecimal getRegisterAmt() {
		return registerAmt;
	}

	public void setRegisterAmt(BigDecimal registerAmt) {
		this.registerAmt = registerAmt;
	}

	public Date getRegisterDate() {
		return registerDate;
	}

	public void setRegisterDate(Date registerDate) {
		this.registerDate = registerDate;
	}

	public String getTaxRegisterNo() {
		return taxRegisterNo;
	}

	public void setTaxRegisterNo(String taxRegisterNo) {
		this.taxRegisterNo = taxRegisterNo == null ? null : taxRegisterNo
				.trim();
	}

	public String getCrNo() {
		return crNo;
	}

	public void setCrNo(String crNo) {
		this.crNo = crNo == null ? null : crNo.trim();
	}

	public String getCustManager() {
		return custManager;
	}

	public void setCustManager(String custManager) {
		this.custManager = custManager == null ? null : custManager.trim();
	}

	public Integer getTotalCard() {
		return totalCard;
	}

	public void setTotalCard(Integer totalCard) {
		this.totalCard = totalCard;
	}

	public String getRegion() {
		return region;
	}

	public void setRegion(String region) {
		this.region = region == null ? null : region.trim();
	}

	public String getBranchNo() {
		return branchNo;
	}

	public void setBranchNo(String branchNo) {
		this.branchNo = branchNo == null ? null : branchNo.trim();
	}

	public String getOrgNo() {
		return orgNo;
	}

	public void setOrgNo(String orgNo) {
		this.orgNo = orgNo == null ? null : orgNo.trim();
	}

	public String getIndustryCode() {
		return industryCode;
	}

	public void setIndustryCode(String industryCode) {
		this.industryCode = industryCode == null ? null : industryCode.trim();
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status == null ? null : status.trim();
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

	public String getCrtOperator() {
		return crtOperator;
	}

	public void setCrtOperator(String crtOperator) {
		this.crtOperator = crtOperator == null ? null : crtOperator.trim();
	}

	public Date getCrtDate() {
		return crtDate;
	}

	public void setCrtDate(Date crtDate) {
		this.crtDate = crtDate;
	}

	public String getLastOperator() {
		return lastOperator;
	}

	public void setLastOperator(String lastOperator) {
		this.lastOperator = lastOperator == null ? null : lastOperator.trim();
	}

	public Date getLastDate() {
		return lastDate;
	}

	public void setLastDate(Date lastDate) {
		this.lastDate = lastDate;
	}

	public String getCorpNo() {
		return corpNo;
	}

	public void setCorpNo(String corpNo) {
		this.corpNo = corpNo == null ? null : corpNo.trim();
	}

	public String getCorpDescription() {
		return corpDescription;
	}

	public void setCorpDescription(String corpDescription) {
		this.corpDescription = corpDescription == null ? null : corpDescription
				.trim();
	}

	/**
	 * N不加急 Y加急 默认为N不加急
	 */
	private String isUrgent;

	public String getIsUrgent() {
		return isUrgent;
	}

	public void setIsUrgent(String isUrgent) {
		this.isUrgent = isUrgent;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", corpCode=").append(corpCode);
		sb.append(", corpName=").append(corpName);
		sb.append(", corpAbbrName=").append(corpAbbrName);
		sb.append(", corpType=").append(corpType);
		sb.append(", corpLevel=").append(corpLevel);
		sb.append(", corpAddr=").append(corpAddr);
		sb.append(", corpPostalcode=").append(corpPostalcode);
		sb.append(", linkmanName=").append(linkmanName);
		sb.append(", linkmanPhone=").append(linkmanPhone);
		sb.append(", linkmanMobile=").append(linkmanMobile);
		sb.append(", linkmanFax=").append(linkmanFax);
		sb.append(", email=").append(email);
		sb.append(", leader=").append(leader);
		sb.append(", leaderPhone=").append(leaderPhone);
		sb.append(", jpName=").append(jpName);
		sb.append(", jpPaperType=").append(jpPaperType);
		sb.append(", jpPaperNo=").append(jpPaperNo);
		sb.append(", jpPhone=").append(jpPhone);
		sb.append(", orgCode=").append(orgCode);
		sb.append(", accountBank=").append(accountBank);
		sb.append(", basicAccount=").append(basicAccount);
		sb.append(", registerAmt=").append(registerAmt);
		sb.append(", registerDate=").append(registerDate);
		sb.append(", taxRegisterNo=").append(taxRegisterNo);
		sb.append(", crNo=").append(crNo);
		sb.append(", custManager=").append(custManager);
		sb.append(", totalCard=").append(totalCard);
		sb.append(", region=").append(region);
		sb.append(", branchNo=").append(branchNo);
		sb.append(", orgNo=").append(orgNo);
		sb.append(", industryCode=").append(industryCode);
		sb.append(", status=").append(status);
		sb.append(", remark=").append(remark);
		sb.append(", crtOperator=").append(crtOperator);
		sb.append(", crtDate=").append(crtDate);
		sb.append(", lastOperator=").append(lastOperator);
		sb.append(", lastDate=").append(lastDate);
		sb.append(", corpNo=").append(corpNo);
		sb.append(", corpDescription=").append(corpDescription);
		sb.append(", serialVersionUID=").append(serialVersionUID);
		sb.append("]");
		return sb.toString();
	}
}